package com.ltmonitor.service.impl;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ltmonitor.dao.IVideoRequestDao;
import com.ltmonitor.video.entity.VideoRequest;
import com.ltmonitor.service.IVideoRequestService;

@Service("videoRequestService")
public class VideoRequestService extends BaseService<Long, VideoRequest> implements IVideoRequestService {

	@Autowired
	private IVideoRequestDao VideoRequestDao;

	public void clearVideoRequest(String simNo, int channelId)
	{
		String hsql = "delete from VideoRequest where simNo = ? and channelId = ?";
		this.baseDao.bulkUpdate(hsql,
				new Object[] { simNo, channelId });

	}
	

}
